package com.zhao.blog.dao;

import com.zhao.blog.pojo.User;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author xiaoZhao
 * @date 2021/12/26
 * @describe
 */
public interface UserDao extends JpaRepository<User,Long> {
    User findByUsernameAndPassword(String username,String password);
}
